package impl.persons;

import framework.Business;
import framework.PersonAdapter;

/**
 * Implements "Egoist" personal strategy i.e. always play <b>defect</b>.
 *
 * @author Denis DIR Rozhnev
 */
public class Egoist extends PersonAdapter {
    @Override
    public String getShortName() {
        return "EGO";
    }

    @Override
    public int deal(Object id) {
        return Business.DEFECT;
    }
}
